home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 2: PC / frozenfish_august_1995.bin / bbs / d09xx / d0906.lha / PowerData / Documentation / ARexx Examples / Quit.rexx < prev    next >
OS/2 REXX Batch file  |  1993-08-28  |  477b  |  33 lines

  1. /* NAME
  2.  *    Quit.rexx - Tell PowerData to quit
  3.  *
  4.  * SYNOPSIS
  5.  *    rx Quit
  6.  *
  7.  * FUNCTION
  8.  *    If PowerData is running, then ask it to terminate.
  9.  *
  10.  * INPUTS
  11.  *    None
  12.  *
  13.  * OUTPUTS
  14.  *    None
  15.  *
  16.  * NOTES
  17.  *
  18.  * SEE ALSO
  19.  *
  20.  * Author: Michael Berg
  21.  * Date  : 9-Mar-1993
  22.  * This file is part of the PowerData distribution.
  23.  */
  24.  
  25. IF SHOW(P,'POWERDATA') THEN DO
  26.   ADDRESS 'POWERDATA' quit
  27.   SAY 'PowerData is now gone'
  28. END
  29. ELSE
  30.   SAY 'PowerData is not running'
  31.  
  32. /* The End */
  33.